<me:UIAM x:Class="WPFExcelReport.TDXJ"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:me="clr-namespace:WPFExcelReport"
              xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"  
           xmlns:Localization="clr-namespace:Localization;assembly=Localization"
             mc:Ignorable="d" 
             x:Name="TV"
            Loaded="Window_Loaded"
             >
    <me:UIAM.Resources> 
        <ucd:ImgUpDown  x:Key="upd"/> 
    </me:UIAM.Resources>
    <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="40"></RowDefinition>
                <RowDefinition Height="20"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="80"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <WrapPanel Grid.Row="0" Grid.RowSpan="2" Grid.Column="0" HorizontalAlignment="Left">
                <TextBlock Text="{Binding Source={Localization:Translate Word=温度}}"/>
                <TextBlock Text="{Binding VU1,ElementName=TV}" Foreground="Green"  Width="20" />
                <TextBlock Text="{Binding Source={Localization:Translate Word=速度:}}"/>
                <TextBlock Text="{Binding VU2,ElementName=TV}" Width="20"/>
                <TextBlock Text="{Binding Source={Localization:Translate Word=效率:}}"/>
                <TextBlock Text="{Binding VU3,ElementName=TV}" Width="20"/>
                <Button  Click="WDCommand" Width="24" Height="20">
                    <Button.Background>
                    <ImageBrush  ImageSource="{Binding WD,ElementName=TV, Converter={StaticResource ResourceKey=upd}}"/>
                </Button.Background>
                </Button>
            </WrapPanel>
            <StackPanel Grid.Row="0" Grid.Column="1">
                <TextBlock Text="{Binding Path=DES}" Width="Auto" VerticalAlignment="Center" ></TextBlock>
            </StackPanel>
            <StackPanel Grid.Row="1" Grid.Column="1">
                <WrapPanel  >
                    <TextBlock Text="{Binding Source={Localization:Translate Word=总数量}}" Width="Auto" Background="White" VerticalAlignment="Center"></TextBlock>
                    <TextBlock Text="{Binding Path=MJQTY,ElementName=TV}" Width="Auto" Background="White" VerticalAlignment="Center"></TextBlock>
                    <TextBlock Text="{Binding Source={Localization:Translate Word=(}}" Width="Auto" Background="White" VerticalAlignment="Center"></TextBlock >
                    <TextBlock Text="{Binding Path=MJNUM,ElementName=TV}" Width="Auto" Background="White" VerticalAlignment="Center"></TextBlock>
                    <TextBlock Text="{Binding Source={Localization:Translate Word=)}}" Width="Auto" Background="White"></TextBlock>
                </WrapPanel>
            </StackPanel>
        </Grid>
     
</me:UIAM >
